<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SwfUpload Controller Test Page</title>
</head>

<body>
<form action="" method="post" enctype="multipart/form-data" onsubmit="this.action='<?=URL::site('admin/swfupload')?>/'+this.method.value;return true;" target="ouputFrame">
  <table border="1" cellspacing="1" cellpadding="5">
    <tr>
      <td width="140" height="40">选择上传接口：</td>
      <td width="300"><select name="method">
        <option value="general">swfupload/general</option>
        <option value="item">swfupload/item</option>
        <option value="advert">swfupload/advert</option>
        <option value="active">swfupload/active</option>
      </select></td>
    </tr>
    <tr>
      <td height="40">选择文件：</td>
      <td><input type="file" name="swfupload" /></td>
    </tr>
    <tr>
      <td height="40">&nbsp;</td>
      <td><input type="submit" name="button" value="执行上传" /></td>
    </tr>
  </table>
</form>
<br >
<iframe src="about:blank" name="ouputFrame" height="500" width="600" frameborder="1" scrolling="auto"></iframe>
</body>
</html>
